﻿using MediatR;
using WMS_Goodsinfo.ErrorCode;

namespace WMS_Goodsinfo.Api.Write.Application.Command.商品
{
    public class CreateInoutCommand:IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 商品外键(从route.query.id获取)
        /// </summary>
        public int ProductI_Id { get; set; }

        /// <summary>
        /// 出入库编号
        /// </summary>
        public string InOutNo { get; set; }
        /// <summary>
        /// 出入库日期
        /// </summary>
        public string InOutTiem { get; set; }
        /// <summary>
        /// 业务类型(下拉选择)
        /// </summary>
        public string BusinessType { get; set; }
        /// <summary>
        /// 出入库类型(下拉选择)
        /// </summary>
        public string InOutType { get; set; }
        /// <summary>
        /// 入库数量
        /// </summary>
        public int InNumber { get; set; }
        /// <summary>
        /// 出库数量
        /// </summary>
        public int OutNumbber { get; set; }
        /// <summary>
        /// 入库金额
        /// </summary>
        public decimal InMoney { get; set; }
        /// <summary>
        /// 出库金额
        /// </summary>
        public decimal OutMoney { get; set; }

        /// <summary>
        /// 批次
        /// </summary>
        public string Batch_Id { get; set; }

    }
}
